package com.bwie.service;

import com.bwie.domain.TbUser;
import com.bwie.utils.R;
import com.bwie.vo.LoginInfoVo;
import com.bwie.vo.MobileLoginVo;
import com.bwie.vo.PageInfoVo;

import java.util.List;

/**
 * @author 军哥
 * @version 1.0
 * @description: TODO
 * @date 2024/11/12 16:43
 */


public interface TbUserService {
    TbUser getUserById(Integer userId);

    R login(LoginInfoVo loginInfoVo);

    R shopperRegister(TbUser tbUser);

    R sendCode(String mobile);

    R shopperLogin(MobileLoginVo mobileLoginVo);

    R getShopperList(PageInfoVo pageInfoVo);

    R getUserInfo(Integer userId);

    R checkShopper(TbUser tbUser);

    R deleteShopper(Integer userId);

    R deleteShoppers(List<TbUser> tbUsers);

    R updateShopper(TbUser tbUser);

    R getNumberForWeek();
}
